<h1>Editing plantilla</h1>

<%= error_messages_for :plantilla %>

<% form_for(:plantilla, :url => plantilla_path(@plantilla), :html => { :method => :put }) do |f| %>
  <p>
    <b>Nombre</b><br />
    <%= f.text_field :nombre %>
  </p>

  <p>
    <b>Html</b><br />
    <%= f.text_area :html %>
  </p>

  <p>
    <%= submit_tag "Update" %>
  </p>
<% end %>

<%= link_to 'Show', plantilla_path(@plantilla) %> |
<%= link_to 'Back', plantillas_path %>